package com.acme;


public class Test {
	public static void main(String[] args) {
		int v1 = 3;
		byte v2 = (byte)v1; //loss of precision here(byte is smaller than int)
		System.out.println(v2);
		v1 = 256;
		byte v3 = (byte)v1;
		System.out.println(v3);
		int v4 = 's';
		System.out.println(v4);
		
		byte v5 = 115;
		if (v5 == 's') {
			System.out.println("Equals");
		}
		
		
		System.out.println((double)4); // Will be printed 4.0
		
		
		double d = 5;
		System.out.println(d + 1); //6.0 was printed
		
		int b = v4; //incompatible types
		
		String v6 = "short";
		
		float v7 = (float)3.67; //loss of precision
		
		float v9 = 3; //No compilation error because this is widening convertation.
		
		float v8 = v7;
		
		double array[] = new double[27];
		
	}
}
